const mutations = {
  updatePhone (state, phone) {
    state.xpw_phone = phone
    try {
      localStorage.xpw_phone = phone
    } catch (e) {}
  },
  updateLoadingState (state, flag) {
    state.isLoading = flag
  },
  updateCurrentTabComponent (state, component) {
    state.currentTabComponent = component
  }
}

export default mutations
